<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0">
    <a class="navbar-brand col-sm-12 col-md-11 mr-0" href="#">
        <c:if test="${ sessionScope.loginUser != null}">
            <span >欢迎【${loginUser}】回来</span>
        </c:if>
    </a>
<%--    <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">--%>
    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap">
            <a class="nav-link" href="${pageContext.request.contextPath}/servlet/LogoutServlet">Sign out</a>
        </li>
    </ul>
</nav>